package com.bdm.property.management.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * @Author: MAD4O
 * @Date: 2020/8/22 15:59
 * @Description: 
 */
@Data
@TableName(value = "house")
public class House implements Serializable {
    /**
     * 房子信息编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 业主编号，连接业主信息和房子信息
     */
    @TableField(value = "ownerid")
    private Long ownerid;

    /**
     * 楼号
     */
    @TableField(value = "buildid")
    private String buildid;

    /**
     * 房间号
     */
    @TableField(value = "roomid")
    private String roomid;

    /**
     * 房型
     */
    @TableField(value = "housestyle")
    private String housestyle;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_OWNERID = "ownerid";

    public static final String COL_BUILDID = "buildid";

    public static final String COL_ROOMID = "roomid";

    public static final String COL_HOUSESTYLE = "housestyle";
}